using Newtonsoft.Json;
/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "费用明细",TableName = "Fk_reimlist")]
    public partial class Fk_reimlist:BaseEntity
    {
        /// <summary>
       ///序号
       /// </summary>
       [Display(Name ="序号")]
       [JsonIgnore]
       [Column(TypeName="int")]
       public int? xh { get; set; }

       /// <summary>
       ///成本中心/研发项目
       /// </summary>
       [Display(Name ="成本中心/研发项目")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       public string rcntr { get; set; }

       /// <summary>
       ///科目
       /// </summary>
       [Display(Name ="科目")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       public string fei_type { get; set; }

       /// <summary>
       ///发票日期
       /// </summary>
       [Display(Name ="发票日期")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? fzdate { get; set; }

       /// <summary>
       ///税额
       /// </summary>
       [Display(Name ="税额")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? tax { get; set; }

       /// <summary>
       ///未税金额
       /// </summary>
       [Display(Name ="未税金额")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? ws_je { get; set; }

       /// <summary>
       ///金额(含税)
       /// </summary>
       [Display(Name ="金额(含税)")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? je { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="reimlist_id")]
       [Column(TypeName="int")]
       [Required(AllowEmptyStrings=false)]
       public int reimlist_id { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="reim_id")]
       [Column(TypeName="int")]
       public int? reim_id { get; set; }

       /// <summary>
       ///票号
       /// </summary>
       [Display(Name ="票号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string tickno { get; set; }

       /// <summary>
       ///附件
       /// </summary>
       [Display(Name ="附件")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string fujian { get; set; }

       /// <summary>
       ///出差起时间
       /// </summary>
       [Display(Name ="出差起时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? cc_bdate { get; set; }

       /// <summary>
       ///出差止时间
       /// </summary>
       [Display(Name ="出差止时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? cc_edate { get; set; }

       /// <summary>
       ///天数
       /// </summary>
       [Display(Name ="天数")]
       [DisplayFormat(DataFormatString="18,1")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? t_num { get; set; }

       /// <summary>
       ///人数
       /// </summary>
       [Display(Name ="人数")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? r_num { get; set; }

       /// <summary>
       ///起地
       /// </summary>
       [Display(Name ="起地")]
       [MaxLength(500)]
       [Column(TypeName="nvarchar(500)")]
       [Editable(true)]
       public string b_dd { get; set; }

       /// <summary>
       ///止地
       /// </summary>
       [Display(Name ="止地")]
       [MaxLength(500)]
       [Column(TypeName="nvarchar(500)")]
       [Editable(true)]
       public string e_dd { get; set; }

       /// <summary>
       ///补助金
       /// </summary>
       [Display(Name ="补助金")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? bz_je { get; set; }

       /// <summary>
       ///交通费-税金
       /// </summary>
       [Display(Name ="交通费-税金")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? jt_tax { get; set; }

       /// <summary>
       ///交通费-金额(不含税)
       /// </summary>
       [Display(Name ="交通费-金额(不含税)")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? jt_je { get; set; }

       /// <summary>
       ///住宿费-税金
       /// </summary>
       [Display(Name ="住宿费-税金")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? zz_tax { get; set; }

       /// <summary>
       ///住宿费-金额(不含税)
       /// </summary>
       [Display(Name ="住宿费-金额(不含税)")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? zz_je { get; set; }

       /// <summary>
       ///其他费-税金
       /// </summary>
       [Display(Name ="其他费-税金")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? other_tax { get; set; }

       /// <summary>
       ///其他费-金额(不含税)
       /// </summary>
       [Display(Name ="其他费-金额(不含税)")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? other_je { get; set; }

       /// <summary>
       ///发票类别
       /// </summary>
       [Display(Name ="发票类别")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string tick_type { get; set; }

       /// <summary>
       ///扣减事项
       /// </summary>
       [Display(Name ="扣减事项")]
       [MaxLength(500)]
       [Column(TypeName="varchar(500)")]
       [Editable(true)]
       public string jk_content { get; set; }

       /// <summary>
       ///扣减金额(含税)
       /// </summary>
       [Display(Name ="扣减金额(含税)")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? jk_je { get; set; }

       /// <summary>
       ///审核金额(含税)
       /// </summary>
       [Display(Name ="审核金额(含税)")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? check_je { get; set; }

       /// <summary>
       ///备注
       /// </summary>
       [Display(Name ="备注")]
       [MaxLength(500)]
       [Column(TypeName="nvarchar(500)")]
       [Editable(true)]
       public string remark { get; set; }

       
    }
}
